class ProductInfoModel {
  String clickUrl;
  String originalPrice;
  String score2;
  String serverUpdateTime;
  String score3;
  String couponurl;
  String finalPrice;
  String shopName;
  String pic;
  String type;
  String title;
  String serverCreateTime;
  String sellerId;
  String couponStartTime;
  String commission;
  String id;
  String operating;
  String productId;
  List<dynamic> productDetail;
  String shopLogo;
  String relatedVal;
  List<dynamic> headImgs;
  String returnPrice;
  String couponEndTime;
  String sale;
  String deleted;
  String partnerPrice;
  String sharePrice;
  List<String> thums;
  String couponPrice;
  String shopType;
  String score1;
  String category;
  String itemUrl;
  String isCollected;
  String desc;

  ProductInfoModel(
      {this.clickUrl,
        this.originalPrice,
        this.score2,
        this.serverUpdateTime,
        this.score3,
        this.couponurl,
        this.finalPrice,
        this.shopName,
        this.pic,
        this.type,
        this.title,
        this.serverCreateTime,
        this.sellerId,
        this.couponStartTime,
        this.commission,
        this.id,
        this.operating,
        this.productId,
        this.productDetail,
        this.shopLogo,
        this.relatedVal,
        this.headImgs,
        this.returnPrice,
        this.couponEndTime,
        this.sale,
        this.deleted,
        this.partnerPrice,
        this.sharePrice,
        this.thums,
        this.couponPrice,
        this.shopType,
        this.score1,
        this.category,
        this.itemUrl,
        this.isCollected,
        this.desc});

  ProductInfoModel.fromJson(Map<String, dynamic> json) {
    clickUrl = json['clickUrl'].toString();
    originalPrice = json['originalPrice'].toString();
    score2 = json['score2'].toString();
    serverUpdateTime = json['serverUpdateTime'].toString();
    score3 = json['score3'].toString();
    couponurl = json['couponurl'].toString();
    finalPrice = json['finalPrice'].toString();
    shopName = json['shopName'].toString();
    pic = json['pic'].toString();
    type = json['type'].toString();
    title = json['title'].toString();
    serverCreateTime = json['serverCreateTime'].toString();
    sellerId = json['sellerId'].toString();
    couponStartTime = json['couponStartTime'].toString();
    commission = json['commission'].toString();
    id = json['id'].toString();
    operating = json['operating'].toString();
    productId = json['productId'].toString();
    productDetail = json['productDetail'];
    shopLogo = json['shopLogo'].toString();
    relatedVal = json['relatedVal'].toString();
    headImgs = json['headImgs'];
    returnPrice = json['returnPrice'].toString();
    couponEndTime = json['couponEndTime'].toString();
    sale = json['sale'].toString();
    deleted = json['deleted'].toString();
    partnerPrice = json['partnerPrice'].toString();
    sharePrice = json['sharePrice'].toString();
    thums = json['thums'].cast<String>();
    couponPrice = json['couponPrice'].toString();
    shopType = json['shopType'].toString();
    score1 = json['score1'].toString();
    category = json['category'].toString();
    itemUrl = json['itemUrl'].toString();
    isCollected = json['isCollected'].toString();
    desc = json['desc'].toString();
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['clickUrl'] = this.clickUrl;
    data['originalPrice'] = this.originalPrice;
    data['score2'] = this.score2;
    data['serverUpdateTime'] = this.serverUpdateTime;
    data['score3'] = this.score3;
    data['couponurl'] = this.couponurl;
    data['finalPrice'] = this.finalPrice;
    data['shopName'] = this.shopName;
    data['pic'] = this.pic;
    data['type'] = this.type;
    data['title'] = this.title;
    data['serverCreateTime'] = this.serverCreateTime;
    data['sellerId'] = this.sellerId;
    data['couponStartTime'] = this.couponStartTime;
    data['commission'] = this.commission;
    data['id'] = this.id;
    data['operating'] = this.operating;
    data['productId'] = this.productId;
    data['productDetail'] = this.productDetail;
    data['shopLogo'] = this.shopLogo;
    data['relatedVal'] = this.relatedVal;
    data['headImgs'] = this.headImgs;
    data['returnPrice'] = this.returnPrice;
    data['couponEndTime'] = this.couponEndTime;
    data['sale'] = this.sale;
    data['deleted'] = this.deleted;
    data['partnerPrice'] = this.partnerPrice;
    data['sharePrice'] = this.sharePrice;
    data['thums'] = this.thums;
    data['couponPrice'] = this.couponPrice;
    data['shopType'] = this.shopType;
    data['score1'] = this.score1;
    data['category'] = this.category;
    data['itemUrl'] = this.itemUrl;
    data['isCollected'] = this.isCollected;
    data['desc'] = this.desc;
    return data;
  }
}